package com.dianpingmedia.simulate.model;
import org.hibernate.validator.constraints.NotBlank;
import org.hibernate.validator.constraints.NotEmpty;

import java.util.List;
import java.util.Map;
public class IFlySyncMediaEntity {

    public static class Request {
        @NotBlank(message = "ssp_id can't be empty")
        private String ssp_id;
        @NotBlank(message = "time can't be empty")
        private String time;
        @NotBlank(message = "token can't be empty")
        private String token;
        @NotBlank(message = "sign can't be empty")
        private String sign;
        @NotEmpty(message = "medias can't be empty")
        private List<Media> medias;


        public static class Media {
            private String screen_id;
            private String name;
            private String province_id;
            private String city_id;
            private String area_id;
            private String area_detail;
            private String scenes;
            private Integer scenes_id;
            private Double screen_size;
            private String start_time;
            private String end_time;
            private Integer media_type;
            private Integer[] black_ids;
            private Integer traffic_cover;
            private String media_image;
            private Integer is_network;
            private Integer is_probe;
            private Integer is_rtb;
            private String mac;
            private Double longitude;
            private Double latitude;
            private Integer screen_num;


            public Integer getScenes_id() {
                return scenes_id;
            }

            public void setScenes_id(Integer scenes_id) {
                this.scenes_id = scenes_id;
            }

            public Integer getIs_probe() {
                return is_probe;
            }

            public void setIs_probe(Integer is_probe) {
                this.is_probe = is_probe;
            }

            public Integer getIs_rtb() {
                return is_rtb;
            }

            public void setIs_rtb(Integer is_rtb) {
                this.is_rtb = is_rtb;
            }


            public Double getLongitude() {
                return longitude;
            }

            public void setLongitude(Double longitude) {
                this.longitude = longitude;
            }

            public Double getLatitude() {
                return latitude;
            }

            public void setLatitude(Double latitude) {
                this.latitude = latitude;
            }

            public Integer getScreen_num() {
                return screen_num;
            }

            public void setScreen_num(Integer screen_num) {
                this.screen_num = screen_num;
            }



            public String getScreen_id() {
                return screen_id;
            }

            public void setScreen_id(String screen_id) {
                this.screen_id = screen_id;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getProvince_id() {
                return province_id;
            }

            public void setProvince_id(String province_id) {
                this.province_id = province_id;
            }

            public String getCity_id() {
                return city_id;
            }

            public void setCity_id(String city_id) {
                this.city_id = city_id;
            }

            public String getArea_id() {
                return area_id;
            }

            public void setArea_id(String area_id) {
                this.area_id = area_id;
            }

            public String getArea_detail() {
                return area_detail;
            }

            public void setArea_detail(String area_detail) {
                this.area_detail = area_detail;
            }

            public String getScenes() {
                return scenes;
            }

            public void setScenes(String scenes) {
                this.scenes = scenes;
            }

            public Double getScreen_size() {
                return screen_size;
            }

            public void setScreen_size(Double screen_size) {
                this.screen_size = screen_size;
            }

            public String getStart_time() {
                return start_time;
            }

            public void setStart_time(String start_time) {
                this.start_time = start_time;
            }

            public String getEnd_time() {
                return end_time;
            }

            public void setEnd_time(String end_time) {
                this.end_time = end_time;
            }

            public Integer getMedia_type() {
                return media_type;
            }

            public void setMedia_type(Integer media_type) {
                this.media_type = media_type;
            }

            public Integer[] getBlack_ids() {
                return black_ids;
            }

            public void setBlack_ids(Integer[] black_ids) {
                this.black_ids = black_ids;
            }

            public Integer getTraffic_cover() {
                return traffic_cover;
            }

            public void setTraffic_cover(Integer traffic_cover) {
                this.traffic_cover = traffic_cover;
            }

            public String getMedia_image() {
                return media_image;
            }

            public void setMedia_image(String media_image) {
                this.media_image = media_image;
            }

            public Integer getIs_network() {
                return is_network;
            }

            public void setIs_network(Integer is_network) {
                this.is_network = is_network;
            }

            public String getMac() {
                return mac;
            }

            public void setMac(String mac) {
                this.mac = mac;
            }
        }

        public String getSsp_id() {
            return ssp_id;
        }

        public void setSsp_id(String ssp_id) {
            this.ssp_id = ssp_id;
        }

        public String getTime() {
            return time;
        }

        public void setTime(String time) {
            this.time = time;
        }

        public String getToken() {
            return token;
        }

        public void setToken(String token) {
            this.token = token;
        }

        public String getSign() {
            return sign;
        }

        public void setSign(String sign) {
            this.sign = sign;
        }

        public List<Media> getMedias() {
            return medias;
        }

        public void setMedias(List<Media> medias) {
            this.medias = medias;
        }
    }

    public static class Response {
        private Integer return_code;
        private Object message;

        public Integer getReturn_code() {
            return return_code;
        }

        public void setReturn_code(Integer return_code) {
            this.return_code = return_code;
        }

        public Object getMessage() {
            return message;
        }

        public void setMessage(Object message) {
            this.message = message;
        }
    }

}
